package com.htjc.integral.house.util.enums;


public enum AccountReturn {
    ACCOUNT_SUCCESS(true, 0, "状态成功"),
    ACCOUNT_ERROR_ACCOUNTNAME(false ,-1,"户号为空"),
    ACCOUNT_ERROR_LOGINACCOUNTID(false ,-1,"登录账户ID"),
    ACCOUNT_ERROR_OPERATIONSTATUS(false ,-1,"操作类型"),
    ACCOUNT_ERROR_EXPENDITUREWHERE(false ,-1,"业务类型"),
    ACCOUNT_ERROR_EXPENDITUREDESCRIBE(false ,-1,"支出备注"),
    ACCOUNT_ERROR_EXPENDITURENUM(false ,-1,"收入金额"),
    
    ACCOUNT_ERROR_NOTFOUND(false, -1, "查无该户"),
    ACCOUNT_ERROR_NOPARAMS(false, -1, "参数为空"),
    ACCOUNT_ERROR(false, -1, "状态失败"),
    ACCOUNT_ERROR_UNKNOWNTYPE(false, -1, "未知的业务类型"),
    
    
    //资产中心配置表读取地址失败
    EC_BP_ASSETHUB_CONFIG_ERROR_URLADDRESS(false ,-1,"接口地址不存在"),
    //资产中心接口返回值枚举
    ASSETHUB_ERROR(false ,-1,"资产中心积分扣减失败"),
    //积分变更记录表（外网调用资产中心记录）枚举
    ASSETHUB_INTEGRAL_ERROR(false ,-1,"积分变更记录添加失败"),
    
    
    
    
//    ACCOUNT_ERROR(false, -1, "账户主表添加更新失败"),
//    ACCOUNT_ERROR_ACCOUNTMAINID(false, -1, "总账户ID不存在"),
//    ACCOUNT_ERROR_ACCOUNTMAINIDUSABLENESSNUM(false, -1, "可用金额不存在"),
//    ACCOUNT_ERROR_ACCOUNTMAINIDINCOMENUM(false, -1, "收入总金额不存在"),
//    ACCOUNT_ERROR_ACCOUNTMAINIDANDPOWERUSERNO(false, -1, "总账户ID或户号不存在"),
    ;
    private boolean status;
    private Integer code;
    private String msg;


    private AccountReturn(boolean status, Integer code, String msg) {
        this.status = status;
        this.code = code;
        this.msg = msg;
    }

    public boolean isStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }
}
